<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 22 mars 2013 20:46:38 by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="donnees.modele.Vip" table="VIP" schema="P1100305">
        <id name="id" type="string">
            <column name="ID" length="5" />
            <generator class="assigned" />
        </id>
        <many-to-one name="jury" class="donnees.modele.Jury" fetch="select">
            <column name="JUR_ID" length="5" />
        </many-to-one>
        <property name="nom" type="string">
            <column name="NOM" length="254" />
        </property>
        <property name="prenom" type="string">
            <column name="PRENOM" length="254" />
        </property>
        <property name="coeffattrait" type="string">
            <column name="COEFFATTRAIT" length="2" />
        </property>
        <property name="compagnon" type="string">
            <column name="COMPAGNON" length="254" />
        </property>
        <property name="age" type="string">
            <column name="AGE" length="3" />
        </property>
        <property name="nationalite" type="string">
            <column name="NATIONALITE" length="254" />
        </property>
        <set name="participants" inverse="true">
            <key>
                <column name="ID" length="5" not-null="true" unique="true" />
            </key>
            <one-to-many class="donnees.modele.Participant" />
        </set>
        <set name="sponsors" inverse="true">
            <key>
                <column name="ID" length="5" not-null="true" unique="true" />
            </key>
            <one-to-many class="donnees.modele.Sponsor" />
        </set>
        <set name="assisters" inverse="true">
            <key>
                <column name="VIP_ID" length="5" not-null="true" />
            </key>
            <one-to-many class="donnees.modele.Assister" />
        </set>
        <set name="journalistes" inverse="true">
            <key>
                <column name="ID" length="5" not-null="true" unique="true" />
            </key>
            <one-to-many class="donnees.modele.Journaliste" />
        </set>
    </class>
</hibernate-mapping>
